﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dubbo.Common.Extension
{
    [MetadataAttribute]
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
    public class DubboExportAttribute : ExportAttribute
    {
        public DubboExportAttribute(Type contractType, string name) : base(contractType)
        {
            Name = name;
        }

        public string Name { get; private set; }
    }
}
